using NewFormatProject.Infrastructure.EFCore;
using NewFormatProject.Infrastructure.Dto.Requests.Objects;
namespace NewFormatProject.Server.Instances.Extends.Requests
{
	public static class EntityRightConfigDetailsExtend
{
		public static RightConfigDetails ToEntity(this RequestRightConfigDetailsDto dto)
		{
			return new RightConfigDetails
			{
				RcdId = dto.id,
				RcdRightId = dto.rightId,
				RcdJobId = dto.jobId,
				RcdRightConfigId = dto.rightConfigId,
			};
		}
	}
}
